export default {
  namespaced: true,
  state: {
    id: 0,
    name: '',
    shopId:NaN,
    openTime: '',
    shopStatus: NaN,
  },
  mutations: {
    updateId (state, id) {
      state.id = id
    },
    updateName (state, name) {
      state.name = name
    },
    shopId(state, shopId) {
      state.shopId = shopId
    },
    shopOpenTime(state, openTime) {
      state.openTime = openTime
    },
    updateShopStatus(state, shopStatus) {
      state.shopStatus = shopStatus
    },
  }
}
